cody - HTMLify profile

cody
4270 Files
632708 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/129 - Dice Game
html, body {
--color-1: #a8e6cf;
--color-2: #dcedc1;
--color-3: #ffd3b6;
--color-4: #ffaaa5;
--color-5: #ff8b94;
margin: 0;
padding: 0;
--color-1: #a8e6cf;
--color-2: #dcedc1;
--color-3: #ffd3b6;
--color-4: #ffaaa5;
--color-5: #ff8b94;
margin: 0;
padding: 0;
<html>
<head>
<link rel="stylesheet" href="style.css">
<title>Dice Game</title>
</head>
<body>
<div class="container">
<h1 id="message">Player 1 Turn</h1>
<head>
<link rel="stylesheet" href="style.css">
<title>Dice Game</title>
</head>
<body>
<div class="container">
<h1 id="message">Player 1 Turn</h1>
// Create variables for the game state
let player1Score = 0
let player2Score = 0
let player1Turn = true
// Create variables to store references to the necessary DOM nodes
const player1Dice = document.getElementById("player1Dice")
const player2Dice = document.getElementById("player2Dice")
let player1Score = 0
let player2Score = 0
let player1Turn = true
// Create variables to store references to the necessary DOM nodes
const player1Dice = document.getElementById("player1Dice")
const player2Dice = document.getElementById("player2Dice")